package Ch13;

import java.util.Formatter;

public class FormetEx {

	public static void main(String[] args) {
		Formatter formatter = new Formatter();
		formatter.format("%.3f",123.45678);
		String str = formatter.toString();
		System.out.println(str);
	}
}
